package com.brother.realtime.config;

public class NumberAConfig implements Config {

	public static final String ENABLE = "123456A1,"; 
	public static final String DISABLE = "123456A0"; 
	
	private String tel = "";
	private String work = "";
	public String getWork() {
		return work;
	}
	public void setWork(String work) {
		this.work = work;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}

	
	@Override
	public byte[] getData() {
		if(ENABLE.equals(work)){
			return (ENABLE + tel).getBytes();
		}else{
			return DISABLE.getBytes();
		}
	}

}
